var React = require('react');

var Button = React.createClass({
	handleClick : function(e) {
		alert(e.target.innerText);
	},
	render : function() {
		return (
			<ul className="nav-login-btn">
				<li><a href="#" onClick={this.handleClick} title="注册">注册</a></li>
				<li><a href="#" onClick={this.handleClick} title="登陆">登陆</a></li>
			</ul>
		);
	}
})

module.exports = Button